[LegacyColorValue = true]; 

{ TSM Stochastic RSI function for the Stochastic RSI
  Copyright 1999, P.J.Kaufman. All rights reserved.
}
  inputs:  stochlen(10),RSIlen(20);

  plot1(TSMStochasticRSI(close,stochlen,rsilen),"TSMStoRSI");